20 March 2019

Simple Plotly Example

This presentation, created using R Markdown, is the assignment for Week 3 of the Developing Data Products course.

A chart depicting the change in the fuel price in South Africa in 2018 will be shown.

The fuel price is adjusted on a monthly basis by the South African Department of Energy (http://www.energy.gov.za/). For this exercise, the data for the price of Unleaded Petrol 93 was chosen.

The data was obtained from the Automobile Association of South Africa's website: https://www.aa.co.za/fuel-pricing.

Data Summary

The data consists of twelve observations of two variables: date and price (in ZAR):

         Date Price
1  03-01-2018 14.20
2  07-02-2018 13.90
3  02-03-2018 13.54
4  04-04-2018 14.23
5  02-05-2018 14.72
6  06-06-2018 15.54
7  04-07-2018 15.80
8  01-08-2018 15.81
9  05-09-2018 15.86
10 03-10-2018 16.85
11 07-11-2018 16.85
12 05-12-2018 15.01

Fuel Price Changes in South Africa in 2018

Analysis

As the chart shows, the price of fuel increased gradually from March until July, followed by a sharp increase in October. Finally, consumers were granted some relief in December 2018 with a major decrease in the fuel price.